home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 3-069 qemm 603 / 1.ima / QEMM-MAN / CH2.QEM < prev    next >
Encoding:
Text File  |  1991-10-07  |  13.4 KB  |  308 lines

  1. Chapter 2
  2.  
  3. Installation QEMM
  4.  
  5.  You install QEMM-386 by running the QEMM installation program,
  6. INSTALL. You should also use INSTALL if you are installing an
  7. upgrade of QEMM-386.
  8.  
  9.  If you have a new 80386 PC, be sure to complete the standard
  10. installation and setup procedures of your PC before installing
  11. QEMM-386. 
  12.  
  13.  QEMM-386 is a device driver, which means that it must be loaded
  14. as part of the boot sequence of your PC. INSTALL automatically
  15. creates the necessary command to load QEMM-386 and places it at
  16. the beginning of your CONFIG.SYS file~dash~or creates a
  17. CONFIG.SYS file if you don't have one already. 
  18.  
  19.  INSTALL also installs Quarterdeck Manifest, Quarterdeck's
  20. comprehensive memory reporting and analysis program, if Manifest
  21. is bundled together with QEMM-386. Manifest describes your PC,
  22. specifically the software and hardware that use your memory. In
  23. doing so, it gives you an understanding of how best to use your
  24. PC's memory. 
  25.  
  26.  As a precaution, before installing QEMM-386, you should check
  27. that there is no other expanded memory manager loaded in your
  28. CONFIG.SYS. An expanded memory manager characteristically has the
  29. letters, EMM in its name, such as EMM386.SYS which is provided by
  30. Microsoft with Windows 3.0. Windows 3.0 users should review the
  31. Section Installing QEMM-386 with Windows 3.0 before proceeding.
  32.  
  33.  Also, if Microsoft's HIMEM.SYS extended memory manager is
  34. specified in your CONFIG.SYS file, you should remove it. QEMM-386
  35. is an extended memory manager, and provides the same
  36. functionality as HIMEM.
  37.  
  38. ~Subhead~ Installing QEMM-386
  39.  
  40.  To install QEMM-386:
  41.  
  42. ~Step~ Place the QEMM-386 diskette in drive A.
  43.  
  44. ~Step~ Type A:INSTALL and press <Enter>.
  45.  
  46. NOTE: If you have an LCD or Gas Plasma display, as on some
  47. laptops, we recommend that you run INSTALL in monochrome mode.
  48.  
  49. ~Step~ Type A:INSTALL /m and press <Enter>.
  50.  
  51. Follow the instructions on the screen. INSTALL copies the QEMM
  52. files to your hard disk and allows you to configure QEMM.
  53. INSTALL's base configuration settings, for most of you, will be
  54. correct. 
  55.  
  56. The most common reason that you will want to change QEMM-386's
  57. settings is when you're using VDISK. Normally, QEMM-386 takes all
  58. of extended memory for itself. If you are using VDISK, you'll
  59. want to allocate part of extended memory to VDISK, using QEMM's
  60. EXTMEM command line parameter. For information on the EXTMEM
  61. parameter, see Chapter 3: The QEMM386.SYS Program, page 19.
  62.  
  63. INSTALL displays a separate screen for each instruction you are
  64. likely to want to change. For information about the QEMM's
  65. command line parameters, see Chapter 3 The QEMM386.SYS Program,
  66. page 13.
  67.  
  68. That's all there is to installing QEMM-386. Since QEMM-386 is a
  69. device driver, you do have to reboot your system for its settings
  70. to take effect. Most likely, your memory has been configured by
  71. INSTALL in the following way:
  72.  
  73. ~Item~ All the memory in your PC has been made into expanded
  74. memory, compatible with the EMS 4 expanded memory specification.
  75.  
  76. ~Item~ If you are installing an upgrade to QEMM-386, the install
  77. program honors the way you have previously configured your
  78. memory.
  79.  
  80. To see how your memory is used, refer to Memory Report in Chapter
  81. 4, The QEMM.COM Program on page 33. To see a map of your first
  82. megabyte of memory, see Chapter 4 The QEMM.COM Program, Type
  83. Report, page 30. 
  84.  
  85. Also, if you are unfamiliar with memory, please refer to
  86. Quarterdeck's Manifest program. Manifest explains memory (first
  87. meg, expanded, extended). It describes the various expanded
  88. memory specifications. It also gives you information about your
  89. DOS configuration and the hardware in your PC. Manifest displays
  90. the same information, in its category QEMM-386, as does
  91. QEMM.COM~dash~but in a more pleasing visual format and with
  92. access to other related information.
  93.  
  94. The last screen displayed by the QEMM-386 installation program is
  95. a screen that tells you to reboot your PC to load QEMM-386, and
  96. recommends that you then run the Optimize program. Optimize loads
  97. your TSRs, device drivers, and DOS resources in high memory. By
  98. loading these in high memory, you have more memory below 640K
  99. available for programs.
  100.  
  101. Optimize does two things:
  102.  
  103. ~Item~ First it modifies the QEMM386.SYS command line~dash~adding
  104. the RAM parameter. This parameter maps memory into any available
  105. memory addresses in the high memory addresses between 640K and
  106. 1024K. We call the memory mapped into these available addresses,
  107. high RAM. High RAM is memory ready to be used to load TSRs,
  108. drivers (such as networks), and DOS resources~dash~thus freeing
  109. memory below 640K and giving your DOS programs more memory in
  110. which to run.
  111.  
  112. ~Item~ Then it looks at your CONFIG.SYS and AUTOEXEC.BAT files to
  113. determine what can be loaded in high RAM using QEMM-386's LOADHI,
  114. and DOS resources programs. It then changes your CONFIG.SYS and
  115. AUTOEXEX.BAT files accordingly.
  116.  
  117. If you are not using large DOS programs and hence are not
  118. suffering from RAM cram, you will not need to run Optimize. Also
  119. if you are a sophisticated user, you may wish to choose what is
  120. loaded high. In this case, please refer to Chapter 5, The LOADHI
  121. Programs, and Chapter 6, DOS Resource Programs.
  122.  
  123. After rebooting, your PC is ready to run expanded memory
  124. programs. NOTE: the QEMM-386 program, VIDRAM, discussed in
  125. Chapter 7 The VIDRAM Program, can make 96K more memory available
  126. to your DOS program~dash~if you don't need to use EGA or VGA
  127. graphics. 
  128.  
  129. If after rebooting, your system fails to initialize, you can
  130. recover without having to resort to a boot floppy by doing the
  131. following:
  132.  
  133. ~Step~ Reset your system again. Use the power switch if
  134. necessary.
  135.  
  136. ~Step~ Wait until you hear a beep, then hold down the Alt key.
  137.  
  138.     QEMM pauses with the message, "QEMM; Press any key to
  139. continue. Esc to abort."
  140.  
  141. ~Step~ Press the Esc key.
  142.  
  143. Your system will then proceed with the boot sequence. QEMM will
  144. not be loaded and thus, no programs will be loaded into high RAM.
  145. Your system will, however, be usable. Refer to Chapter 3, The
  146. QEMM386.SYS Program parameters for changes needed on your system.
  147. See also Appendix A Troubleshooting for additional guidelines.
  148.  
  149. ~Subhead~ Optimizing Your Memory
  150.  
  151.  The Optimize program scans your CONFIG.SYS and AUTOEXEC.BAT
  152. files to find device drivers, TSRs, and DOS resources that can be
  153. put in the high memory area. From its analysis, Optimize makes
  154. the changes to these files to make use of this memory for you. It
  155. also makes sure you have a memory manager installed that can turn
  156. the high memory area into high RAM.
  157.  
  158. For many, the use of Optimize during installation is all that is
  159. necessary to make immediate use of the high memory area. To run
  160. Optimize:
  161.  
  162. ~Step~ Change to the QEMM-386 subdirectory you specified during
  163. installation.
  164.  
  165. ~Step~ Type Optimize and press <Enter>.
  166.  
  167. In special situations, some of you will want to customize your
  168. system further. The reference sections in this manual are for
  169. that purpose. In particular, see the Chapter 5 The LOADHI
  170. Programs, and Chapter 6 The DOS Resource Programs. In either
  171. case, we recommend that you run Optimize now. The changes you
  172. will see in your start-up files will help you use these programs.
  173.  
  174. If you choose not to run Optimize now, you can run it at any time
  175. in the future. In fact, you should run Optimize whenever you add
  176. device drivers, TSRs, change your DOS resources memory or change
  177. your high memory configuration in any way.
  178.  
  179. Optimize changes CONFIG.SYS and AUTOEXEC.BAT. Your original files
  180. are first copied to CONFIG.QDK and AUTOEXEC.QDK. Optimize also
  181. re-boots your system twice before it is done. When it completes,
  182. your system should have programs and data in high RAM. And, your
  183. application programs should have more memory available to them.
  184.  
  185. NOTE: If your AUTOEXEC.BAT file runs a program that is not a TSR
  186. and does not exit immediately on its own, then you will have to
  187. quit that program manually to allow Optimize to continue.
  188.  
  189. Optimize does not attempt to read or analyze any batch files it
  190. finds within your AUTOEXEC.BAT. Any TSRs loaded from within an
  191. embedded batch file will not be loaded into high RAM. If at all
  192. possible, consider putting the contents of these batch files
  193. directly into AUTOEXEC.BAT. Then re-run Optimize to gain even
  194. more memory.
  195.  
  196. ~Subhead~ Running Optimize After Installation
  197.  
  198.  To run Optimize at any time in the future, change to the
  199. subdirectory that your used to install QEMM-386 and
  200.  
  201. ~Step~ Type Optimize and press <Enter>.
  202.  
  203. Optimize changes CONFIG.SYS and AUTOEXEC.BAT. Your original files
  204. are first copied to CONFIG.QDK and AUTOEXEC.QDK. Optimize also
  205. re-boots your system twice before it is done. When it completes,
  206. your system should have programs and data in high RAM. And, your
  207. application programs should have more memory available to them.
  208.  
  209. ~Subhead~ Installing QEMM-386 With Windows 3.0
  210.  
  211.  There are several considerations with respect to running
  212. QEMM-386 v5.1 and Windows 3.0 together.
  213.  
  214. ~Item~ Use of the QEMM-386 "RAM" parameter.  This parameter will
  215. automatically be installed when you run the OPTIMIZE program, or
  216. if you answer "Yes" to the question "Fill All High Memory with
  217. RAM?" during the QEMM-386 Install procedure. 
  218.  
  219.  
  220.  QEMM-386 by default provides memory management in the monochrome
  221. video area (B000-B7FF), when it is not in use by a video adapter.
  222. If you use the RAM parameter, QEMM-386 fills these addresses with
  223. RAM so that resident programs, drivers and some of DOS overhead
  224. can be loaded into high memory.  However, if you don't use the
  225. RAM parameter, Windows 3.0 seems to become confused by QEMM-386's
  226. memory management in this area and may refuse to start up in 386
  227. enhanced mode. 
  228.  
  229.  If you will be running Windows 3.0 and for some reason don't
  230. want to use the RAM parameter, you should exclude QEMM-386's use
  231. of this area by using, X=B000-B7FF as a parameter to the
  232. QEMM386.SYS driver.
  233.  
  234. ~Item~ If you install Windows 3.0 after installing QEMM-386,
  235. Windows Setup inserts the driver HIMEM.SYS before the QEMM386.SYS
  236. driver. When QEMM-386 loads, it can allocate all of the memory
  237. that is controlled by the HIMEM.SYS driver, so the presence of
  238. HIMEM.SYS is not a big problem. 
  239.  
  240.  However HIMEM.SYS takes 2.8K of conventional memory which
  241. QEMM-386 cannot reclaim. Since QEMM-386 provides all the features
  242. of HIMEM.SYS, you may want to avoid loading HIMEM.SYS altogether.
  243. You can do this by selecting "Let you review & edit changes
  244. before modifications are made" from Windows Setup when you get to
  245. the menu which offers this option. Just edit out the line which
  246. contains the HIMEM.SYS driver from the "Proposed CONFIG.SYS
  247. file." Or, you can remove the line from your CONFIG.SYS file at a
  248. later time using a text editor.
  249.  
  250. ~Item~ If Windows 3.0 is already installed when you install
  251. QEMM-386, Windows Setup installed a driver called HIMEM.SYS. The
  252. QEMM-386 installation procedure puts the QEMM386.SYS driver
  253. before the HIMEM.SYS driver. When the system boots, the HIMEM.SYS
  254. driver sees that an extended memory manager (QEMM-386) is already
  255. installed and does not load itself. 
  256.  
  257.  This is fine since the QEMM386.SYS driver provides all the
  258. features of HIMEM.SYS. Also, since HIMEM.SYS fails to load, it
  259. will not be taking any memory. However, it will beep and produce
  260. a message, saying "Error: An Extended Memory Manager is already
  261. installed." To get rid of this error message, remove the line
  262. which loads the HIMEM.SYS driver from your CONFIG.SYS file using
  263. a text editor.
  264.  
  265. ~Item~ Use of Microsoft's SMARTDRV.SYS. The Windows Setup
  266. procedure installs Microsoft's disk cache called SMARTDRV.SYS.
  267. The default size of this cache tends to be large. Windows can
  268. reclaim memory from this cache when it starts up, however
  269. programs that are run outside of Windows which use expanded
  270. memory cannot do this. If you run programs outside of Windows
  271. which would benefit from expanded memory, you may want to
  272. consider either removing SMARTDRV.SYS entirely from your
  273. CONFIG.SYS file, or at least reducing its size. 
  274.  
  275.  
  276.  SMARTDRV.SYS takes parameters to set the size of the cache, the
  277. first parameter being the "NormalCacheSize" and the second being
  278. the "MinimumCacheSize". An example SMARTDrive installation might
  279. look as follows:
  280.  
  281.  DEVICE=C:\WINDOWS\SMARTDRV.SYS 1024 256
  282.  
  283.  In this example, SMARTDrive takes 1024K (1MB) of memory when you
  284. are not in Windows and 256K while you are running Windows. While
  285. it is difficult to suggest a cache size that might be best for
  286. you, one possible suggestion might be to use the minimum amount
  287. only. To do this, using the example above, you would edit the
  288. line to read:
  289.  
  290.  DEVICE=C:\WINDOWS\SMARTDRV.SYS 256  256
  291.  
  292.  If you are not running programs that are disk intensive,
  293. deleting the cache entirely may make sense. Further information
  294. on the parameters used to control the size of SMARTDRV.SYS can be
  295. found in the back of the Windows 3.0 manual.
  296.  
  297. ~Item~ EMS and VCPI support in Windows 3.0 Standard Mode. When
  298. Windows is started in standard mode, it allocates all of the
  299. memory controlled by QEMM for its own operation and for use by
  300. Windows specific applications. Non-Windows applications, started
  301. in Windows, which might otherwise be able to use some of
  302. QEMM-386's memory using the Expanded Memory Specification (EMS)
  303. or Virtual Control Program Interface (VCPI) will not be able to
  304. find any, since all memory is at that point under the control of
  305. Windows. If you have such programs, you can reserve some
  306. additional memory for them by using the EMBMEM parameter
  307. documented in Chapter 3, The QEMM386.SYS Program.
  308.